package com.cqjtu.eecs.entity.params.courseType;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description: 修改课程类别参数校验
 * @author: 徐文升
 * @create: 2022-03-01 10:43
 **/

@Data
@EqualsAndHashCode
public class CourseTypeUpdateParams {
    @NotNull(message = "课程类别编号不能为空")
    @ApiModelProperty(value = "课程类别编号", required = true)
    private Integer courseTypeId;

    @NotBlank(message = "课程类别名不能为空")
    @ApiModelProperty(value = "课程类别名", required = true)
    private String courseTypeName;
}